package com.city.repository.economic;

import com.city.domain.economic.EnterpriseRegulatoryClassification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @deprecation: 监管分类
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-18 13:14
 */
public interface EnterpriseRegulatoryClassificationRepository extends JpaRepository<EnterpriseRegulatoryClassification,Integer> {

    @Query(value = "select * from enterprise_regulatory_classification", nativeQuery = true)
    List<EnterpriseRegulatoryClassification> getAll();
}
